package cn.dogger.easyboot.system.mapper;

import cn.dogger.easyboot.system.domain.dto.SysMenuDTO;
import cn.dogger.easyboot.system.domain.entity.SysMenu;
import cn.dogger.easyboot.system.domain.vo.SysMenuDetail;
import cn.dogger.easyboot.system.domain.vo.SysMenuVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* 菜单权限表
* @author dogger
* 2022-04-16
*/
@Repository
public interface SysMenuMapper extends BaseMapper<SysMenu> {
    List<SysMenuVO> list(@Param("tb") SysMenuDTO dto);

    SysMenuDetail detailById(@Param("id")String id);
}